package org.opens.mybatisplus.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.opens.mybatisplus.pojo.FormatPojo;

import java.time.LocalDateTime;
import java.util.List;

@Mapper
public interface FormatDao extends BaseMapper<FormatPojo> {

    @Select(value = "select * from user_money where start_time > #{startDateTime}")
    public List<FormatPojo> findByStartTime(@Param(value = "startDateTime") LocalDateTime startDateTime);

}
